package com.zy.edu.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author HuangHaiShui
 * @since 2021-07-24
 */
@TableName("course_chapter_video")
@Data
public class CourseChapterVideo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 顺序
     */
    private Integer num;
    /**
     * 名称
     */
    private String name;
    /**
     * 课程id
     */
    @TableField("course_id")
    private String courseId;
    /**
     * 课时id
     */
    @TableField("chapter_id")
    private String chapterId;
    /**
     * 简介
     */
    private String introduction;
    @TableField("create_time")
    private Date createTime;
    private Integer status;
    /**
     * 视频地址
     */
    private String url;

    //该视频的相关播放记录
    //从班级查，则是该班级的上课记录
    //从学生查，为该学生的观看记录
    @TableField(exist = false)
    private CourseChapterVideoStu record;

}
